
CFLAGS = -Wall -pedantic  -O4
CC = g++
LDFLAGS= -Wl,-rpath
OBJECTS = ./CEC2013/cec2013.o ./CEC2013/cfunction.o ./CEC2013/rand2.o Self_Define_Functions.o
INCLUDE = ./CEC2013/cec2013.h ./CEC2013/cfunction.h

all:  AMS-ACO


AMS-ACO: AMS-ACO.o $(OBJECTS) $(INCLUDE)
	$(CC) $(CFLAGS) -o AMS-ACO AMS-ACO.o $(OBJECTS)
AMS-ACO.o: $(INCLUDE) AMS-ACO.cpp
	$(CC) $(CFLAGS) -c AMS-ACO.cpp




Self_Define_Functions.o:  ./CEC2013/cec2013.h Self_Define_Functions.h Self_Define_Functions.cpp
	$(CC) $(CFLAGS) -c Self_Define_Functions.cpp

/CEC2013/cec2013.o: ./CEC2013/cec2013.h ./CEC2013/cec2013.cpp ./CEC2013/cfunction.h ./CEC2013/cfunction.cpp
	$(CC) $(CFLAGS) -c ./CEC2013/cec2013.cpp

/CEC2013/cfunction.o: ./CEC2013/cfunction.h ./CEC2013/cfunction.cpp
	$(CC) $(CFLAGS) -c ./CEC2013/cfunction.cpp

/CEC2013/rand2.o: ./CEC2013/rand2.c ./CEC2013/rand2.h
	$(CC) $(CFLAGS) -c ./CEC2013/rand2.c

clean:
	rm -f  $(OBJECTS)
	rm -f  *.o
